#pragma once
#include "Object.h"

class BaseInf: public Object
{
  private:
	string title;
	string author;
	string pages;
	string year;

  public:
	void setTitle(string _title) {
         title = _title;
    }
    string getTitle() {
         return title;
    }
    
    void setAuthor(string _author) {
         author = _author;
    }
    string getAuthor() {
         return author;
    }
    
    void setPages(string _pages) {
         pages = _pages;
    }
    string getPages() {
         return pages;
    }
    
    void setYear(string _year) {
         year = _year;
    }
    string getYear() {
         return year;
    }
};
